package evance.user.controllers;

import java.util.Locale;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class ProductController {
	private static Logger log = Logger.getLogger(HomeController.class);

	@RequestMapping(value = "/product", method = RequestMethod.GET)
	public String product(Locale locale, Model model) {
		log.debug("Welcome home ! the client locale is " + locale.toString()
				+ "; " + locale.getDisplayName());
		return "product";
	}
}
